<AppMobFileUpload
    v-bind="{{CustomParams 'editor' item.psEditor}}"
{{#eq ctrlType 'panel'}}
    name="{{item.name}}"
{{/eq}}
{{#eq ctrlType 'form'}}
    name="{{item.codeName}}"
{{/eq}}
    {{!-- 适配表单重复器 --}}
    {{#if repeaterMode}}
    :data="data"
    :value="data?.{{item.name}}"
    {{else}}
    :data="store.data"
    :value="store.data.{{item.psEditor.name}}"
    {{/if}}
    {{#if (eq ctrlType 'form')}}
     {{#if repeaterMode}}
    :disabled="detailModel?.{{item.codeName}}?.disabled"  
    {{else}}
    :disabled="store.detailModel.{{item.codeName}}.disabled"  
    {{/if}}
    {{else if (eq ctrlType 'panel')}}
    :disabled="store.detailModel.{{item.name}}.disabled"
    {{/if}}
{{#eq item.psEditor.editorType 'MOBSINGLEFILEUPLOAD'}}
    :isFile="true"
    :maxCount="1"
    :multiple="false"
{{/eq}}
{{#eq item.psEditor.editorType 'MOBMULTIFILEUPLOAD'}}
    :isFile="true"
    :multiple="true"
    {{#if item.psEditor.editorParams}}
    {{#if item.psEditor.editorParams.maxCount}}
    :maxCount="{{item.psEditor.editorParams.maxCount}}"
    {{/if}}
    {{/if}}
{{/eq}}
{{#eq item.psEditor.editorType 'MOBPICTURE'}}
    :isFile="false"
    :maxCount="1"
    :multiple="false"
    accept="image/*"
{{/eq}}
{{#eq item.psEditor.editorType 'MOBPICTURELIST'}}
    :isFile="false"
    :multiple="true"
    accept="image/*"
    {{#if item.psEditor.editorParams}}
    {{#if item.psEditor.editorParams.maxCount}}
    :maxCount="{{item.psEditor.editorParams.maxCount}}"
    {{/if}}
    {{/if}}
{{/eq}}
{{#eq item.psEditor.editorType 'MOBPICTURE_RAW'}}
    :isFile="false"
    :multiple="false"
    :maxCount="1"
    accept="image/*"
    :isRaw="true"
{{/eq}}
    :context="store.context"
    :viewParams="store.viewParams"
    style="{{#if item.psEditor.editorWidth}}width: {{item.psEditor.editorWidth}}px;{{/if}}{{#if item.psEditor.editorHeight}}height: {{item.psEditor.editorHeight}}px{{/if}}"
{{#if (or (eq ctrlType 'form') (eq ctrlType 'panel'))}}
    @component-action="(actionParam: any) => { handleComponentAction(controller, actionParam) }"
{{/if}}
/>
